/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package StackModel.Stack;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Stack</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link StackModel.Stack.Stack#getChildren <em>Children</em>}</li>
 *   <li>{@link StackModel.Stack.Stack#getMaxCnt <em>Max Cnt</em>}</li>
 * </ul>
 * </p>
 *
 * @see StackModel.Stack.StackPackage#getStack()
 * @model
 * @generated
 */
public interface Stack extends EObject {
  /**
   * Returns the value of the '<em><b>Children</b></em>' attribute list.
   * The list contents are of type {@link java.lang.Object}.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Children</em>' attribute list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Children</em>' attribute list.
   * @see StackModel.Stack.StackPackage#getStack_Children()
   * @model unique="false" ordered="false"
   * @generated
   */
  EList<Object> getChildren();

  /**
   * Returns the value of the '<em><b>Max Cnt</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Max Cnt</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Max Cnt</em>' attribute.
   * @see #setMaxCnt(Integer)
   * @see StackModel.Stack.StackPackage#getStack_MaxCnt()
   * @model required="true" ordered="false"
   * @generated
   */
  Integer getMaxCnt();

  /**
   * Sets the value of the '{@link StackModel.Stack.Stack#getMaxCnt <em>Max Cnt</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Max Cnt</em>' attribute.
   * @see #getMaxCnt()
   * @generated
   */
  void setMaxCnt(Integer value);

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @model eRequired="true" eOrdered="false"
   * @generated
   */
  void push(Object e);

  /**
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @model required="true" ordered="false"
   * @generated
   */
  Object pop();

} // Stack
